package com.better.common.utils;

import java.util.UUID;

/**
 * @author  UUID 生成唯一
 * @create 2017-09-23 18:29
 **/
public class GlobalUtil {
    /**
     *
     * @return
     */
    public static String createGlobalId(){
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static void main(String[] args){
        System.out.println(GlobalUtil.createGlobalId());
    }
}
